import {Component, EventEmitter, Input, OnInit, Output, ViewEncapsulation} from '@angular/core';

@Component({
  selector: 'lesson-comment-item',
  templateUrl: './lesson-comment-item.component.html',
  styleUrls: ['./lesson-comment-item.component.scss'],
  encapsulation: ViewEncapsulation.None
})
export class LessonCommentItemComponent implements OnInit {

  @Input() lesson;
  @Input() index;
  @Input() rightArrow;
  @Output() clicked = new EventEmitter();

  // public commentState  = ['未点评', '已点评'];
  public lessonStatus = ['未补课', '已补课'];
  public readStatus = ['未读', '已读'];
  // public state = ['未销课', '已销课', '请假'];

  constructor() { }

  /**
   * @author guoqs1331
   * @time 2018/1/30
   * @description
   */
  clickLesson() {
    this.clicked.emit();
  }

  ngOnInit() {

  }
}
